import request from '@/utils/request'

// 查询今日营业额
export function getTodayRevenue(data) {
  return request({
    url: '/fincal/analysis/todayRevenueVo',
    method: 'post',
    data: data
  })
}
// 查询本月营业额
export function getMonthRevenue(data) {
    return request({
      url: '/fincal/analysis/toMonthRevenueVo',
      method: 'post',
      data: data
    })
  }
  // 查询本月各企业订单数
export function getMonthCompanyOrderStatic(data) {
    return request({
      url: '/fincal/analysis/toMonthCompanyOderStatic',
      method: 'post',
      data: data
    })
  }
  // 查询本月驾驶员排行榜
export function getMonthDriverMoneyStatic(data) {
    return request({
      url: '/fincal/analysis/toMonthDriverMoneyStatic',
      method: 'post',
      data: data
    })
  }
    // 查询本月驾驶员排行榜
export function getTimeRangeOrderStatic(data) {
  return request({
    url: '/fincal/analysis/timeRangeOrderStatic',
    method: 'post',
    data: data
  })
}
// 查询今年营业额，营收额度
export function getYearStatic() {
  return request({
    url: '/fincal/analysis/yearStatic',
    method: 'post',
  })
}
    
